<div class="layui-card">
    <div class="layui-card-body">
        <form class="layui-form">
            <div class="layui-form-item">
                {% for table in tables %}
                    <input type="checkbox"
                           class="layui-input"
                           name="{{ table }}"
                           title="{{ table }}"
                            {% if table in setting.tables %}
                                checked
                            {% endif %}
                    >
                    <br>
                {% endfor %}
            </div>
            <div class="layui-form-item">
                <button type="button" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit
                         lay-filter="backup-now">{{ __('backup.btn') }}
                </button>
            </div>
        </form>
    </div>
</div>